package com.song.provider.service.impl;

import com.song.provider.service.FeignSerivce;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @Author 宋伟宁
 * @Date 2024/1/9
 * @Version 1.0
 **/
@Component
@RequestMapping("/fallback/book")
public class FeignServiceImpl  implements FeignSerivce {
    @Override
    public String list() {
        return "Feign 熔断";
    }

    @Override
    public String add() {
        return "Feign 熔断";
    }

    @Override
    public String update() {
        return "Feign 熔断";
    }

    @Override
    public String delete() {
        return "Feign 熔断";
    }
}
